<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>乐淘商城</title>
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.min.css">
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/category.css">
    <link rel="icon" href="./favicon.ico">
</head>

<body>
    <!-- 布局容器 -->
    <div class="lt-layout">
        <!-- 头部 -->
        <div class="lt-header fl-x">
            <a href="./index.html"><i class="mui-icon mui-icon-home"></i></a>
            <h4>乐淘云购</h4>
            <a href="./search.html"><i class="mui-icon mui-icon-search"></i></a>
        </div>
        <!-- 主体 -->
        <div class="lt-main fl-x">
            <!-- 侧边栏 -->
            <div class="cate-aside">
                <!-- 区域滚动 -->
                <div class="mui-scroll-wrapper">
                    <div class="mui-scroll">
                        <ul class="cate-ul">
                            <!-- <li class="current"><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li>
                            <li><a href="#">小猪佩奇</a></li> -->
                        </ul>
                    </div>
                </div> 
            </div>
            <!-- 右侧内容 -->
            <div class="cate-content">
                <a href="#">
                    <img src="./images/brand1.png" alt="">
                    <p>耐克</p>
                </a>
                <a href="#">
                    <img src="./images/brand1.png" alt="">
                    <p>耐克</p>
                </a>
                <a href="#">
                    <img src="./images/brand1.png" alt="">
                    <p>耐克</p>
                </a>
                <a href="#">
                    <img src="./images/brand1.png" alt="">
                    <p>耐克</p>
                </a>
            </div>

        </div>
        <!-- 底部 -->
        <div class="lt-footer">
            <ul class="fl-x">
                <li>
                    <a href="./index.html">
                        <i class="fa fa-home"></i>
                        <p>首页</p>
                    </a>
                </li>
                <li class="current">
                    <a href="#">
                        <i class="fa fa-th-list"></i>
                        <p>分类</p>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-shopping-cart"></i>
                        <p>购物车</p>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-user-o"></i class="fa fa-user-o">
                        <p>用户中心</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <script type="text/html" id="tmp-one">
    {{each rows v i}}
    <li class="{{i==0?'current':''}}"><a href="#" data-id={{v.id}}>{{v.categoryName}}</a></li>
    {{/each}}
    </script>
    <script type="text/html" id="tmp-two">
    {{if rows.length == 0}}
        <p>没有更多数据了</p>
    {{else}}
        {{each rows v i}}
            <a href="#">
                <img src="{{v.brandLogo}}" alt="">
                <p>{{v.brandName}}</p>
            </a>
        {{/each}}
    {{/if}}
    </script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/category.js"></script>
</body>

</html>